<%@page contentType="text/html; charset=utf-8"%>
<%@ include file="../inc/TagLibs.jsp"%>
<c:set var="pageTitle" value="收货记录" />
<%@ include file="../inc/Title.jsp"%>
<head>
<link rel="stylesheet" type="text/css" href="/css/base.css" />
<script language="javascript">
	function showMe(){
		if(parent.document.getElementById("detailFrm")!=null){
			parent.document.getElementById("detailFrm").style.height=document.body.scrollHeight+"px";
		}
	}
</script>
</head>
<body style="margin:0px;padding:0px;" oncontextmenu="return false" onLoad="showMe();"  class="sheet">
<div class="sheet-main" style="width:980px">
	  <div class="sheet-list">
			  <div class="table-list" >
			   <fieldset class="det_fieldset "> <legend class="mag10">收货记录</legend>  	
			     <table width="98%" align="center">      
				 					<tr>
										<th width="10%">日期</th>
										<th width="15%">单号</th>
										<th width="10%">项目类型</th>
										<th width="15%">材质</th>
										<th width="15%">规格</th>
										<th width="15%">制作要求</th>
										<th width="10%">收货数量</th>
										<th width="10%">状态</th>
									</tr>
									<c:forEach var="item" items="${items}">
									<tr >
										<td><fmt:formatDate value="${item[0].gatherDate}" pattern="yyyy-MM-dd"/></td>
										<td>${item[0].billCode}</td>
										<td>${item[1].makeTypeName}</td>
										<td>${item[1].productName}</td>
										<td>${item[1].specification}</td>
										<td>${item[1].makeRequire}</td>
										<td><commonTag:parseBigDecimal source="${item[1].gatherBillItem.amount}" /></td>
										<td>
											<c:if test="${item[0].examined=='Y'}">已审核</c:if>
											<c:if test="${item[0].examined=='N'}">未审核</c:if>
										</td>
									</tr>
									</c:forEach>
				   </table>
			   </fieldset>
			  </div>
			</div>
</div>
</body>
</html>